package com.my.relation;


public class Father{
	String name;
    /**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	Son son = new Son();
    public void giveGift(){
        System.out.println("送给"+son.getName()+"礼物");
    }
}